package cn.ipenta;/** * @author ipenta * @ClassName: PropertiesConfigurator * @Description: TODO * @date 2017-04-28 下午3:09 */import org.springframework.boot.context.properties.ConfigurationProperties;import org.springframework.context.annotation.Configuration;import org.springframework.context.annotation.PropertySource;@Configuration@ConfigurationProperties(prefix = "blockchain")@PropertySource(value = "classpath:application.properties", ignoreResourceNotFound = true)public class PropertiesConfigurator {	private String url;	private String privateKey;	private String publicKey;	public String getUrl() {		return url;	}	public void setUrl(String url) {		this.url = url;	}	public String getPrivateKey() {		return privateKey;	}	public void setPrivateKey(String privateKey) {		this.privateKey = privateKey;	}	public String getPublicKey() {		return publicKey;	}	public void setPublicKey(String publicKey) {		this.publicKey = publicKey;	}}